cmake_minimum_required(VERSION 3.10)
project(hardware_id)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 添加可执行文件
add_executable(hardware_id main.cpp)

# 编译选项
target_compile_options(hardware_id PRIVATE -Wall -Wextra)

# 在Linux下可能需要链接的一些库
if(UNIX AND NOT APPLE)
    target_link_libraries(hardware_id pthread ssl crypto)
endif()
